package com.xujc.base;

public class Student extends Person{
    private String grade;

    public Student(String name, int age, String grade) {
        super(name, age);
        this.grade = grade;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }
    public String returnInfo(){
        return "姓名："+getName()+" 年龄："+getAge()+"  年级："+getGrade();
    }
}
